home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 2002 November / CD 1 / APC0211D1.ISO / workshop / prog / files / ActivePerl-5.6.1.633-MSWin32.msi / _e4c6e67dc37d3cac5fbd5f56a4231321 < prev    next >
Encoding:
Text File  |  2002-05-09  |  846 b   |  40 lines

  1. use ExtUtils::MakeMaker;
  2. #$Verbose = 1;
  3. WriteMakefile(
  4.     'NAME'      => 'zlib',
  5.         'CAPI'         => 'TRUE',
  6.         'LINKTYPE'  => 'static',
  7.         'SKIP'      => [qw(dynamic test)],
  8.     'H'         => [qw(deflate.h infcodes.h inftrees.h zconf.h zutil.h
  9.                infblock.h inffast.h infutil.h zlib.h)],
  10.         'C'         => [qw(adler32.c compress.c crc32.c gzio.c uncompr.c
  11.                deflate.c trees.c zutil.c inflate.c infblock.c
  12.                inftrees.c infcodes.c infutil.c inffast.c)],
  13.         'OBJECT'    => q[$(O_FILES)],
  14.         'clean'     =>  {'FILES' => 'libz$(LIB_EXT)'}
  15. );
  16.  
  17. sub MY::post_constants {
  18.     <<'END'
  19. INST_STATIC = libz$(LIB_EXT)
  20. END
  21.     ;
  22. }
  23.  
  24. sub MY::top_targets {
  25.     my $top_targets =<<'END';
  26. all    ::    static
  27.  
  28. static ::    libz$(LIB_EXT)
  29.  
  30. config ::
  31.  
  32. test :    
  33.  
  34. END
  35.     ;
  36.     $top_targets;
  37. }
  38.  
  39.  
  40.